package com.bawei.module_mine.http.state

import com.bawei.module_mine.model.AddAccountModel
import com.bawei.module_mine.model.LikeModel
import com.bawei.module_mine.model.LikeModelItem
import com.bawei.module_mine.model.MineModel
import com.bawei.module_mine.model.UserModel

sealed class LoginState {
    object Idle : LoginState()
    object Loading : LoginState()
    data class Success(val data: UserModel?) : LoginState()
    data class LikeSuccess(val data: LikeModel) : LoginState()
    data class Error(val error: String) : LoginState()
    data class MineSuccess(val data: MineModel) : LoginState()
    data class AddAccountSuccess(val data: AddAccountModel?) : LoginState()
    data class QuickLoginSuccess(val data:UserModel?):LoginState()
}